package Text1;

//public class Text1.Main {
//    public static void main(String[] args) {
//        Text1.CellPhone cellPhone = new Text1.CellPhone();
//        cellPhone.textWork(new Text1.IN() {
//            @Override
//            public int work(int a, int b) {
//                return a+b;
//            }
//        },10,8);
//    }
//}
//interface Text1.IN{
//    int work(int a,int b);
//}
//class Text1.CellPhone{
//    public void textWork(Text1.IN in,int a,int b){
//        int work = in.work(a, b);
//        System.out.println(work);
//    }
//}
public class Main {
    public static void main(String[] args) {
        CellPhone cellPhone = new CellPhone();
        System.out.println(cellPhone.work(10, 8));
    }
}

interface IN {
    int work(int a, int b);
}

class CellPhone implements IN {
    @Override
    public int work(int a, int b) {
        return a + b;
    }
}
